/*
 *  Actor.cpp
 *  lab3
 *
 *  Created by Fredrik Gustafsson on 11/17/10.
 *  Copyright 2010 Kungliga Tekniska Högskolan. All rights reserved.
 *
 */

#include "Actor.h"

using namespace wok2;

int Actor::gen_damage(int expected,int deviance) const {
	return expected + (rand()%(2*deviance))-deviance;
}

std::ostream& Actor::write_nongeneric(std::ostream& os) const {
	return os;
}